public class TestMain {
    public static void main(String[] args) {

        Teacher teacher1 = new Teacher("T001", "张教授", "男");
        Student student1 = new Student("S001", "小明", "男");
        Student student2 = new Student("S002", "小红", "女");
        Course course1 = new Course("C001", "Java程序设计", "教学楼A301", "周一上午9:00-11:00", "T001");


        teacher1.offerCourse(course1);


        student1.selectCourse(course1);
        student2.selectCourse(course1);


        student2.dropCourse();


        student1.printSchedule();
        student2.printSchedule();
    }
}
